/*
* CSET 3600
* Spring Semester 2013
* Melissa Brown
* Josh Siebenaler
* Matt Rich
* Christian Angelo
*
*/
package mancala;

public class EasyAI {
    
    
    public static int ChooseHole(int [] ReturnHoleValues, int nexthole){
        //int nexthole;
        
        // System.out.println(ReturnHoleValues[nexthole]);
        
        if(nexthole >= 7){
           
           nexthole = 1;
       }
       
       if(nexthole < 0){
           
           nexthole = 1;
       }
       if(ReturnHoleValues[nexthole] >= 0){
           
           nexthole += 1;
          
       }
       
       System.out.println("nexthole is" + nexthole);
        
        
        return nexthole;
    }
    
}
